package com.itheima.nacos;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;


@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableDiscoveryClient //能够让注册中心能够发现，扫描到该服务。
public class ProviderApplicaiton {

    public static void main(String[] args) {
        SpringApplication.run(ProviderApplicaiton.class,args);
        System.out.println("服务端启动--");
    }
}
